package day0804;

import java.io.UnsupportedEncodingException;
import java.lang.reflect.Array;
import java.util.Arrays;

/**
 * @author 杰哥不要啦~
 * @date 2021/8/4
 */
public class Test01 {
    public static void main(String[] args) throws UnsupportedEncodingException {
        String s = "科贸人民囧";
        byte[] bys = s.getBytes("utf-8");
        System.out.println(Arrays.toString(bys));
        String ss= new String(bys,"utf-8");
        System.out.println(ss);
    }
}
